#ifndef __key_rotate_H_
#define __key_rotate_H_


typedef enum
{
    ROTATE_PRESS_IDLE,
    ROTATE_PRESS_LEFT,
    ROTATE_PRESS_RIGHT,
} E_ROTATE_TYPE;


#define HIGHT_VOLTAGE_ROTATE	KEY_ROTATE1
#define HIGHT_CURRENT_ROTATE	KEY_ROTATE0

#define LOW_VOLTAGE_ROTATE	    KEY_ROTATE3
#define LOW_CURRENT_ROTATE	    KEY_ROTATE2


void key_rotate_init(void(*function)(E_ROTATE , E_ROTATE_TYPE));



#endif

